package cn.cmeizu.service.impl;

import cn.cmeizu.annotation.Bean;
import cn.cmeizu.annotation.Di;
import cn.cmeizu.dao.UserDao;
import cn.cmeizu.service.UserService;

/**
 * @author cmeizu
 * @date 2023/2/11 17:35
 */
@Bean
public class UserServiceImpl implements UserService {
  @Di
  private UserDao userDao;


  @Override
  public void add() {
    System.out.println("userService中的add方法");
    userDao.add();
  }
}
